from django.contrib import admin
from django.urls import path
from django.conf.urls import url, include

urlpatterns = [
    path('admin/', admin.site.urls),
    # haystack
    url(r'^search/', include('haystack.urls')),
    # users
    url(r'^', include(("users.urls", "users"), namespace="users")),
    # contents
    url(r'^', include(("contents.urls", "contents"), namespace="contents")),
    # verifications
    url(r'^', include('verifications.urls')),
    # oauth
    url(r'^oauth/', include('oauth.urls')),
    # areas
    url(r'^', include('areas.urls')),
    # goods
    url(r'^', include(("goods.urls", "goods"), namespace="goods")),
    # carts
    url(r'^', include(('carts.urls', "carts"), namespace="carts")),
    # orders
    url(r'^', include(('orders.urls', "orders"), namespace="orders")),
    # payment
    url(r'^', include(('payment.urls', "payment"), namespace="payment")),
]
